using System;
using System.Windows.Forms;

using ApplicationLibrary;

namespace ApplicationManager
{
    public partial class dateForm : Form
    {
        public dateForm()
        {
            InitializeComponent();
            txtCalendar.Text = GlobalInfo.CurrentDate.ToShortDateString();
        }

        private void btnOk_Click(object sender, EventArgs e)
        {
            GlobalInfo.CurrentDate = DateTime.Parse(txtCalendar.Text);
            this.Close();
        }
    }
}